package business

import (
	v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
	"github.com/gin-gonic/gin"
)

type AnswerRouter struct {
}

// InitAnswerRouterr 初始化 答案 路由信息
func (s *AnswerRouter) InitAnswerRouter(Router *gin.RouterGroup) {
	//answerRouter := Router.Group("answer").Use(middleware.OperationRecord())
	answerRouterWithoutRecord := Router.Group("answer")
	var answerApi = v1.ApiGroupApp.BusinessApiGroup.AnswerApi
	//{
	//	classifyRouter.POST("createClassify", classifyApi.CreateClassify)             // 新建企业分类
	//	classifyRouter.DELETE("deleteClassify", classifyApi.DeleteClassify)           // 删除企业分类
	//	classifyRouter.DELETE("deleteClassifyByIds", classifyApi.DeleteClassifyByIds) // 批量删除企业分类
	//	classifyRouter.PUT("updateClassify", classifyApi.UpdateClassify)              // 更新企业分类
	//
	//}
	{
		answerRouterWithoutRecord.GET("queryAnswerByEnterprise", answerApi.QueryAnswerByEnterprise) // 查询企业评分回答
	}
}
